<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Dolby Vision Content Editing for Third-Party Developers: CodecBuilder Interface Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="dlb_stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Dolby Vision Content Editing for Third-Party Developers
   </div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('a00036.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="a00033.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">CodecBuilder Interface Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for CodecBuilder:</div>
<div class="dyncontent">
<div class="center"><img src="a00035.png" border="0" usemap="#a_codec_builder_inherit__map" alt="Inheritance graph"/></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for CodecBuilder:</div>
<div class="dyncontent">
<div class="center"><img src="a00034.png" border="0" usemap="#a_codec_builder_coll__map" alt="Collaboration graph"/></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00040.html">CodecType</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa0fd6f79e5bd2f359a77e61187b95acb"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00036.html#aa0fd6f79e5bd2f359a77e61187b95acb">getCodecName</a> ()  throws IOException, CodecBuilderImpl.NoCodecException</td></tr>
<tr class="separator:aa0fd6f79e5bd2f359a77e61187b95acb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83cd5e654b9d437df874b35ef0885dc8"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00036.html#a83cd5e654b9d437df874b35ef0885dc8">isDolbySupported</a> ()</td></tr>
<tr class="separator:a83cd5e654b9d437df874b35ef0885dc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a7e07c9705f4228ff5088717a871f4a"><td class="memItemLeft" align="right" valign="top">MediaExtractor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00036.html#a7a7e07c9705f4228ff5088717a871f4a">configure</a> (MediaCodec codec, Surface s, <a class="el" href="a00032.html">BuilderCodecTemplate</a> c, int transfer)  throws CodecBuilderImpl.NoCodecException</td></tr>
<tr class="separator:a7a7e07c9705f4228ff5088717a871f4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a4884d2ca074e17cd8b35f95edf64883e"><td class="memItemLeft" align="right" valign="top">MediaCodecList&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00036.html#a4884d2ca074e17cd8b35f95edf64883e">codecList</a> = new MediaCodecList(MediaCodecList.ALL_CODECS)</td></tr>
<tr class="separator:a4884d2ca074e17cd8b35f95edf64883e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fd8450630f6d8bb9577a22aa287b483"><td class="memItemLeft" align="right" valign="top">MediaCodecInfo[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00036.html#a0fd8450630f6d8bb9577a22aa287b483">codecInfos</a> = codecList.getCodecInfos()</td></tr>
<tr class="separator:a0fd8450630f6d8bb9577a22aa287b483"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="a00008_source.html#l00042">42</a> of file <a class="el" href="a00008_source.html">CodecBuilder.java</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a7a7e07c9705f4228ff5088717a871f4a" name="a7a7e07c9705f4228ff5088717a871f4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a7e07c9705f4228ff5088717a871f4a">&#9670;&#160;</a></span>configure()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MediaExtractor configure </td>
          <td>(</td>
          <td class="paramtype">MediaCodec&#160;</td>
          <td class="paramname"><em>codec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Surface&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00032.html">BuilderCodecTemplate</a>&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>transfer</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> throws CodecBuilderImpl.NoCodecException</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="a00044.html#adc5cfe25da031434e97e11808e6e78aa">CodecBuilderImpl</a>.</p>

</div>
</div>
<a id="aa0fd6f79e5bd2f359a77e61187b95acb" name="aa0fd6f79e5bd2f359a77e61187b95acb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0fd6f79e5bd2f359a77e61187b95acb">&#9670;&#160;</a></span>getCodecName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String getCodecName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws IOException, CodecBuilderImpl.NoCodecException</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="a00044.html#aa0fd6f79e5bd2f359a77e61187b95acb">CodecBuilderImpl</a>.</p>

</div>
</div>
<a id="a83cd5e654b9d437df874b35ef0885dc8" name="a83cd5e654b9d437df874b35ef0885dc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83cd5e654b9d437df874b35ef0885dc8">&#9670;&#160;</a></span>isDolbySupported()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean isDolbySupported </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="a00044.html#a83cd5e654b9d437df874b35ef0885dc8">CodecBuilderImpl</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a0fd8450630f6d8bb9577a22aa287b483" name="a0fd8450630f6d8bb9577a22aa287b483"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fd8450630f6d8bb9577a22aa287b483">&#9670;&#160;</a></span>codecInfos</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MediaCodecInfo [] codecInfos = codecList.getCodecInfos()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="a00008_source.html#l00045">45</a> of file <a class="el" href="a00008_source.html">CodecBuilder.java</a>.</p>

</div>
</div>
<a id="a4884d2ca074e17cd8b35f95edf64883e" name="a4884d2ca074e17cd8b35f95edf64883e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4884d2ca074e17cd8b35f95edf64883e">&#9670;&#160;</a></span>codecList</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MediaCodecList codecList = new MediaCodecList(MediaCodecList.ALL_CODECS)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="a00008_source.html#l00044">44</a> of file <a class="el" href="a00008_source.html">CodecBuilder.java</a>.</p>

</div>
</div>
<hr/>The documentation for this interface was generated from the following file:<ul>
<li><a class="el" href="a00008_source.html">CodecBuilder.java</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.1-->
<!-- start footer part -->
<!-- This div is not default but moves the footer to the bottom of the page. -->
<div id="footer">
	<div id="nav-path" class="navpath">
		<!-- id is needed for treeview function! -->
		<ul>
			<li class="logo"><a href="https://www.dolby.com"> <svg
						version="1.1" id="Logo" xmlns="http://www.w3.org/2000/svg"
						xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
						viewBox="0 0 380 118.8"
						style="vertical-align: middle; fill: white;" xml:space="preserve"
						height="3em">
						<use href="#LogoPath" />
						</svg></a></li> <li class="navelem"><b>com</b></li><li class="navelem"><b>dolby</b></li><li class="navelem"><b>vision</b></li><li class="navelem"><a class="el" href="a00023.html">codecselection</a></li><li class="navelem"><a class="el" href="a00036.html">CodecBuilder</a></li>
			<li class="footer">Generated on Wed Feb 15 2023 17:10:00 for Dolby Vision Content Editing for Third-Party Developers by&nbsp;Dolby Laboratories.<br>Confidential
				Information. &#169; 2011-2021 Dolby Laboratories, &#169; 2011-2021
				Dolby International AB. All rights reserved.
			</li>
		</ul>
	</div>
</div>
<svg style="display: none">
    <path id="LogoPath"
		d="M4.6,12.5h10.6c19.8,0,36,16.2,36,36s-16.2,36-36,36H4.6V12.5z
          M107,12.5H96.4c-19.8,0-36,16.2-36,36
          s16.2,36,36,36H107V12.5z
          M190.8,48.5c0,19.9-16.1,36-36,36h-26v-72h26C174.6,12.5,190.8,28.6,190.8,48.5z
          M179.9,48.5
          c0-13.8-11.3-25.1-25.1-25.1h-15.1v50.2h15.1C168.6,73.6,179.9,62.3,179.9,48.5z
          M246.2,59.6c0,13.8-11.2,25-25,25s-25-11.2-25-25
          s11.2-25,25-25S246.2,45.9,246.2,59.6z
          M236.3,59.5c0-8.2-6.8-15-15-15s-15,6.7-15,15c0,8.2,6.7,15,15,15
          C229.5,74.6,236.3,67.9,236.3,59.5z
          M253.3,84.5h10.9v-72h-10.9V84.5z
          M323.5,59.6c0,13.8-11.2,25-25,25c-5.3,0-10.2-1.7-14.3-4.5
          v4.4h-10.9v-72h10.9v26.7c4-2.8,9-4.5,14.3-4.5C312.3,34.7,323.5,45.9,323.5,59.6z
          M313.6,59.5c0-8.2-6.8-15-15-15
          c-6.6,0-12.3,4.3-14.3,10.3c-0.5,1.5-0.8,3.1-0.8,4.8c0,1.6,0.3,3.2,0.8,4.7c2,6,7.6,10.3,14.3,10.3
          C306.8,74.6,313.6,67.9,313.6,59.5z
          M363.5,34.7l-14.2,32l-14.2-32h-11.9l20.2,45.4c0,0-4.9,11.1-5,11.1c-1.3,2.9-4.8,4.3-7.7,3
          l-1.6-0.7l-4.4,9.9l0,0l0,0l0,0l3.8,1.7c7.1,3.2,15.5,0,18.6-7.2c0-0.1,25.8-57.8,28.3-63.2L363.5,34.7L363.5,34.7z" />
</svg>
</body>
</html>
